import request from '@/utils/request'

// 查询持股变化列表
export function listDealHoldingsChange(query) {
  return request({
    url: '/holdingschange/dealHoldingsChange/list',
    method: 'get',
    params: query
  })
}

// 查询持股变化详细
export function getDealHoldingsChange(id) {
  return request({
    url: '/holdingschange/dealHoldingsChange/' + id,
    method: 'get'
  })
}

// 保存持股变化
export function saveDealHoldingsChange(data) {
  return request({
    url: '/holdingschange/dealHoldingsChange/save',
    method: 'post',
    data: data
  })
}

// 删除持股变化
export function delDealHoldingsChange(id) {
  return request({
    url: '/holdingschange/dealHoldingsChange/' + id,
    method: 'delete'
  })
}

// 导出持股变化
export function exportDealHoldingsChange(query) {
  return request({
    url: '/holdingschange/dealHoldingsChange/export',
    method: 'get',
    params: query
  })
}
